package development.bean;

public class XiToGroupCardValue {
  private final int THUNG_PHA_SANH_RESULT_TYPE = 8008;
  private final int TU_QUY_RESULT_TYPE = 8007;
  private final int CU_LU_RESULT_TYPE = 8006;
  private final int THUNG_RESULT_TYPE = 8005;
  private final int SANH_RESULT_TYPE = 8004;
  private final int XAM_CHI_RESULT_TYPE = 8003;
  private final int THU_RESULT_TYPE = 8002;
  private final int DOI_RESULT_TYPE = 8001;
  private final int MAU_THAN_RESULT_TYPE = 8000; 
  
  public XiToGroupCardValue() {
  }
  
  private int groupType;
  private int groupMaxValue;

  public int getGroupType() {
    return groupType;
  }

  public void setGroupType(int groupType1) {
    this.groupType = groupType1;
  }

  public int getGroupMaxValue() {
    return groupMaxValue;
  }

  public void setGroupMaxValue(int groupMaxValue1) {
    this.groupMaxValue = groupMaxValue1;
  }
  
  public String getGroupCardType(int value) {
    String str = "";
    switch (value) {
    case THUNG_PHA_SANH_RESULT_TYPE:
      str = "Thùng phá sảnh";
      break;
    case TU_QUY_RESULT_TYPE:
      str = "Tứ quý";
      break;
    case CU_LU_RESULT_TYPE:
      str = "Cù lũ";
      break;
    case THUNG_RESULT_TYPE:
      str = "Thùng";
      break;
    case SANH_RESULT_TYPE:
      str = "Sảnh";
      break;
    case XAM_CHI_RESULT_TYPE:
      str = "Xám chi";
      break;
    case THU_RESULT_TYPE:
      str = "Thú";
      break;
    case DOI_RESULT_TYPE:
      str = "Đôi";
      break;
    case MAU_THAN_RESULT_TYPE:
      str = "Mậu thần"; 
      break;
    }
    return str;
  }
}
